--package.path = 'lua_test\\lua_map\\typescript\\out\\?.lua'
package.path = package.path ..';..\\?.lua;lua_test\\ts_script\\out\\?.lua';

local X_FUNC={}

-- function X_FUNC:ID2I(id)
--     --local ____ = ____local
--     print("?????",self,",",id)
--     local ____ = ____local
--     i = string:byte(id, 1)
--     i = i * 256 + string:byte(id, 2)
--     i = i * 256 + string:byte(id, 3)
--     i = i * 256 + string:byte(id, 4)
--     return i
-- end


-- print(X_FUNC:ID2I('I01O'))



-- function X_FUNC.C1(self, id, x,y)
--     print("C1-" .. id..","..x..","..y)
-- end
-- print(X_FUNC:C1("msg",1,5))

-- print(X_FUNC:ID2I("uax0"))



-- local arr={-1,1,2,3,4,5}

-- for i=1,5 do
--     print(i," - ",arr[i])
-- end

-- print("--------")

-- local i = 0
-- while i < 5 do
--     print((i+1)," - ",arr[i+1])
--     i = i + 1
-- end


local textx=require("test")

textx.mapInitxxx()



